package com.example.javaend.Bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@TableName("t_user")
@NoArgsConstructor // 创建无参构造
@AllArgsConstructor // 创建全参构造
public class TUserTable {

    @TableId(value = "id", type = IdType.AUTO)
    private  int id;

    private String name;
    private String password;
    private String phone;
    private String message;
    @TableLogic(value = "0",delval = "1")
    private int state;
}
